package com.yonyou.hxjy.service.bm;

import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;

import com.yonyou.hxjy.enums.OpenApiUrlEnum;
import com.yonyou.hxjy.service.BaseApi;
import com.yonyou.hxjy.utils.YsQueryDtoSingletonUtil;
import org.springframework.stereotype.Service;

import java.util.HashMap;

/**
 * @ClassName TestServiceImpl
 * @Description
 * @Author HuangWb
 * @Date 2024/4/25 9:38
 */
@Service
public class BmYonsuiteService extends BaseApi {
	
	
	/**
	  * @Author lhj
	  * @Description 结算工作台列表查询
	  * @Date 2025/4/2 9:39
	 **/
	public JSONObject settlebench(HashMap<String, Object> params) throws Exception {
		// 声明并初始化 List

		return JSONUtil.parseObj(doPost(YsQueryDtoSingletonUtil.getYsQueryDto().getGatewayUrl() + OpenApiUrlEnum.SETTLE_BENCH_LIST, params, YsQueryDtoSingletonUtil.getYsQueryDto()));
	}

    /**
     * @Author lhj
     * @Description 结算明细结果回传
     * @Date 2025/4/2 9:39
     **/
    public JSONObject settleFeedback(HashMap<String, Object> params) throws Exception {
        // 声明并初始化 List

        return JSONUtil.parseObj(doPost(YsQueryDtoSingletonUtil.getYsQueryDto().getGatewayUrl() + OpenApiUrlEnum.SETTLE_FEEDBACK, params, YsQueryDtoSingletonUtil.getYsQueryDto()));
    }


	
}
